<script setup lang="ts">
import { navigateTo } from '@uni-helper/uni-promises'

/**
 * 跳转到关于页面
 */
function onToAbout() {
    navigateTo({
        url: '/package-mine/pages/about/about',
    })
}

function onToRemoveAccount() {
    navigateTo({
        url: '/package-mine/pages/logout/logout',
    })
}
function onToFeedback() {
    navigateTo({
        url: '/package-mine/pages/feedback/feedback',
    })
}
</script>

<template>
    <NavbarContainer nav-title="账户设置">
        <view>
            <CellGroup>
                <Cell label="关于" value="" link @click="onToAbout" />
                <Cell label="账号注销" value="" link @click="onToRemoveAccount" />
                <Cell label="意见反馈" value="" link @click="onToFeedback" />
            </CellGroup>
        </view>
    </NavbarContainer>
</template>

<style scoped></style>

<route lang="json">

</route>
